package Day01;

import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入您想要的5位数字");
        double num1 = input.nextDouble();
        double num2 = input.nextDouble();
        double num3 = input.nextDouble();
        double num4 = input.nextDouble();
        double num5 = input.nextDouble();
        System.out.println("你输入的数字分别为:"+num1+"与"+num2+"与"+num3+"与"+num4+"与"+num5);
        double he = num1+num2+num3+num4+num5;
        System.out.println("总和为:"+he);


    }
}
